using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using User.Models;
using UserSorce.Entity.Models;

namespace User.Service
{
    public class UserServiceModels
    {
        public UserModels TurnOffUserData(Users userData)
        {
            UserModels user = new UserModels()
            {
                UserId = userData.UserId, 
                UserName = userData.UserName,
                NickName = userData.NickName,
                RegistTime=userData.RegistTime,
                Type=userData.Type,
                Inventory = userData.Inventory,
                Matter=userData.Matter
            };
            return user;
        }
    }
}
